<!-- 引入公共部分 -->
{{extend './common/layout.html'}}
<!-- 引入css链接（填空） -->
{{block 'link'}}
<link rel="stylesheet" href="/static/home/css/center.css">
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
<script type="text/javascript" src="/static/home/js/address.js"></script>
<link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
</head>
{{/block}}
<!-- 引入主题部分（填空） -->
{{block 'main'}}
<!-- 引入头部代码 -->
<header>
    {{include './common/header.html'}}
    {{include './common/aside.html'}}
</header>
    <div class="body">
        <div class="bodyTop">
            <div class="box">
                <div class="click">个人中心</div>
                <div class="returnMain"><a href="./">返回首页</a></div>
            </div>
        </div>
        <div class="bodyMain">
            <div class="box">
                <div class="sideline">
                    <!-- <i class="fa fa-minus-square-o" aria-hidden="true"></i> -->
                    <dl>
                        <dt id="message">
                            <i class="fa fa-plus-square-o" aria-hidden="true"></i>&nbsp我的资料
                        </dt>
                        <dd>
                            <a href="./center">基本资料</a>
                        </dd>
                        <dd class="clicked">
                            <a href="./address">收货地址</a>
                        </dd>
                        <dd>
                            <a href="./safe">修改密码</a>
                        </dd>
                        <dd>
                            <a href="./whoareyou">实名认证</a>
                        </dd>
                    </dl>
                    <dl>
                        <dt id="superSail">
                            <i class="fa fa-plus-square-o" aria-hidden="true"></i>&nbsp我的特卖
                        </dt>
                        <dd>
                            <a href="./collection">商品收藏</a>
                        </dd>
                        <dd>
                            <a href="./footmark">我的足迹</a>
                        </dd>
                    </dl>
                    <dl>
                        <dt id="order">
                            <i class="fa fa-plus-square-o" aria-hidden="true"></i>&nbsp订单管理
                        </dt>
                        <dd class="orders">
                            <a href="./orderNo">未付款</a>
                        </dd>
                        <dd class="orders">
                            <a href="./order">已付款</a>
                        </dd>
                        <dd class="orders">
                            <a href="./expressmessage">已发货</a>
                        </dd>
                    </dl>
                </div>
                <div class="mainDiv">
                    <div class="mine">
                        <div class="myPhoto">
                            <img src="{{userInfoL.userInfo.img}}">
                        </div>
                        <div class="myName">
                            零元购(yyds)
                        </div>
                    </div>
                    <div class="myMessage" id="myMessage">
                        <div class="formbox" id="formbox">
                            <!-- <div class="addressForm">
                                <div class="addressee"></div>
                                <div class="addresseeTele"></div>
                                <div class="myaddress"></div>
                                <div class="do">
                                    <input type="checkbox" class="doset">设为默认地址
                                    <button class="doDelete">删除</button>
                                    <button class="doChange">修改</button>
                                </div>
                            </div> -->
                        </div>
                        <button type="submit" class="btn" onclick="add()">新增</button>
                        <span class="btn delet">批量删除</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="float">
        <div id="floatContent" class="floatContent hide">
        </div>
    </div>
    <div class="float">
        <div id="changeContent" class="floatContent hide">
            <div class="form-group">
                <label for="name">收货人&nbsp;:&nbsp;</label>
                <input type="text" class="form-control name" name="addressee" id="changeAddressee" onkeyup="value=value.replace(/[^\u4e00-\u9fa5]/g,'')" maxlength="10" placeholder="收货人姓名">
              </div>
              <div class="form-group">
                  <label for="tel">手机号&nbsp;:&nbsp;</label>
                  <input type="text" class="form-control tel" name="addresseeTele" id="changeAddresseeTele" onkeyup="this.value=this.value.replace(/[^\d{0-9}]/g,'')" maxlength=11 placeholder="移动电话">
              </div>
              <div class="form-group">
                  <label for="address">地址&nbsp;&nbsp;&nbsp;&nbsp;:&nbsp;</label>
                  <input type="text" class="form-control" name="address" id="changeAddress" placeholder="详细地址">
              </div>
              <button id="changeThis">确认</button>
              <button id="giveup" onclick="giveup()">取消</button>
        </div>
    </div>
    <footer>
        {{include './common/footer.html'}}
    </footer>
    {{/block}}